#include <stdio.h>
#include <string.h>
#include <stdlib.h>

struct entry{
	char* name;
	//for the second hash
	unsigned int primeHash;
};
struct hashTable{
	int length;
	struct entry** table;

}* hsTable;
hsTable hashCreate(unsigned int minsize)
unsigned  int  RSHash( char   * str)
  {
        unsigned  int  b  =   378551 ;
        unsigned  int  a  =   63689 ;
        unsigned  int  hash  =   0 ;

         while  ( * str)
          {
                hash  =  hash  *  a  +  ( * str ++ );
                a  *=  b;
        }
 
         return  (hash  &   0x7FFFFFFF );
} 

int main(){
	unsigned int n;//the number of input
	scanf("%d",&n);
	unsigned char **names = (unsigned char**)malloc(n*sizeof(unsigned char*));
	char ss[100];
	while (n--){
		scanf("%s",ss);

	}
	
}
